[reportlab-users] Embedding PostScript to control printer trays

Mike Driscoll mike at pythonlibrary.org
Tue Aug 13 14:30:34 EDT 2013

Hi Andy,

We're using a Lanier SP9100/LP275 (internal model M149), which I think is
actually a re-branded Ricoh. We're not sure which driver it is using as we
don't have admin privileges on that machine at the moment. According to the
documentation that my colleague was provided, it doesn't appear as if the
PostScript driver includes the functionality we want anyway as it wants to
stick either a blank in as a slip sheet or a copy of the previous page as
the slip sheet, which is not helpful since we're using OMR codes and that
will royally screw that up.

On the other hand, the documentation DOES seem to indicate that the PCL
driver might have the functionality we need. All we want to do is on check,
switch to check tray and then after the check is printed, switch back to
the normal tray for the non-check page(s).

I hope that makes sense.

On Tue, Aug 13, 2013 at 10:36 AM, Andy Robinson <andy at reportlab.com> wrote:

> Hi Mike,


> It certainly did once upon a time, but the practical problem with this

> is that we don't have any sufficiently old printers here in the office

> against which to test these commands! In addition, in recent years

> many printers have switched to direct PDF support. If you call

> 'addPostScriptCommand()', I would expect that any string you pass in

> will be findable in the resulting PDF file.


> Can you tell us what kind of printer you are using, and also what

> print drivers? Do you know what commands to use? This varies by

> printer.


> On 13 August 2013 16:07, Mike Driscoll <mike at pythonlibrary.org> wrote:

> > Hi,

> >

> > My company currently has a need to create PDFs of documents that need

> > different paper types. For example, the first page will need to be

> printed

> > on check stock and the next N pages will be on regular paper. So I was

> > wondering if the addPostScriptCommand() mentioned at

> > http://www.reportlab.com/docs/reportlab-reference.pdf still works? If

> not,

> > does anyone else know of a good way to accomplish this?

> >

> > The problem is that we may have a massive file of several hundred or

> > thousands of payments in it that will need to be smart enough to pull

> from

> > alternating trays on the printer.

> >

> > We're running Python 2.6 on Linux and Windows with the latest Reportlab.

> > Thanks!

> >

> > -------------------

> > Mike Driscoll

> >

> > Blog: http://blog.pythonlibrary.org

> >

> > _______________________________________________

> > reportlab-users mailing list

> > reportlab-users at lists2.reportlab.com

> > http://two.pairlist.net/mailman/listinfo/reportlab-users

> >




> --

> Andy Robinson

> Managing Director

> ReportLab Europe Ltd.

> Thornton House, Thornton Road, Wimbledon, London SW19 4NG, UK

> Tel +44-20-8405-6420

> _______________________________________________

> reportlab-users mailing list

> reportlab-users at lists2.reportlab.com

> http://two.pairlist.net/mailman/listinfo/reportlab-users


Mike Driscoll

Blog: http://blog.pythonlibrary.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20130813/d7c10705/attachment.htm>

More information about the reportlab-users mailing list