[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ejecting last page from printer?



*- On  8 Nov, Ron Farrer wrote about "ejecting last page from printer?"
> 
> I have my printer (Epson Stylus Color Pro) configured with magicfilter
> and it prints PS fine, but when it prints text it doesn't eject the
> final page. This means I have manually go to the printer and push the
> eject button. If I don't manually eject the page the next print job
> starts printing on THAT page! :( So my question is, how do I configure
> my printer to eject the last TEXT page? If the text printing is more
> then one page, all the pages eject but the last.. If its just one page
> it also doesn't eject.
> 
> Does someone know how to fix this or can point me in the right
> direction?
> 

For my HP Deskjet 660C I had to edit the magicfilter filter file to
include the PCL command for 'eject page' to the text filter:

-# Default entry -- for normal (text) files.  MUST BE LAST. 
default                 cat     \e&k2G  \e&l0H 
                                ^^^^^^  ^^^^^^
                                prefix  suffix

The prefix codes get sent to the printer before the text and the suffix
gets sent after, see the man page for magicfilter.  In this case the
prefix codes set up the CR-LF translation to avoid the stair step
effect and the suffix is the PCL code to eject the page.

You will of course have to find the reference information for the Epson
printer language and insert the appropriate items.  For blank prefix
just use ""(two double quotes).

HTH,
- 
Brian Servis
-- 
------------------------------------------------------------------------
Mechanical Engineering              |  Never criticize anybody until you  
Purdue University                   |  have walked a mile in their shoes,
servis@purdue.edu                   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Reply to: