Mark Turner wrote:
> 
> I've installed lprng, de-installed, re-installed, read the FAQ...
> rebuilt printcap...still got a problem with printing A4 in correct
> orientation....
> 
> StarOffice prints OK to 'lpr'... but gv does not... anything printed
> natively prints to the centre of an imagined A3 page via the top
> cassette... which is A4.
> 
> I've tried the -Za4 -Zinupper -Zportrait on the command line & in the
> printcap...
> 
> # HP Laserjet 4v
> lp|default_printer
> :sh
> :mx#0
> :filter=/usr/local/libexec/filters/ifhp
> :sd=/var/spool/lpd/lp
> :rm=192.168.100.200:append_z=portrait:append_z=a4:append_z=inupper
> :rp=text
> 
> Any clues?

It sounds like the printer's default settings isn't right.
Try setting the default paper type and tray in the printer's
console menu.

You must also add the following lines to your printcap database
to make ifhp to run:
:ifhp=model=hp4v
:lpd_bounce

You can only have one append_z option, so you've to merge them:
:append_z=portrait,a4,inupper


Try this:
# HP Laserjet 4v (LPD)
lp|default_printer
:sh
:mx#0
:filter=/usr/local/libexec/filters/ifhp
:sd=/var/spool/lpd/lp
:append_z=portrait,a4,inupper
:[EMAIL PROTECTED]
:lpd_bounce
:ifhp=model=hp4v

or this:
# HP Laserjet 4v (appsocket)
lp|default_printer
:sh
:mx#0
:filter=/usr/local/libexec/filters/ifhp
:sd=/var/spool/lpd/lp
:append_z=portrait,a4,inupper
:lp=192.168.100.200%9100
:ifhp=model=hp4v


BR /Johan Claesson
--
Ericsson Network Core Products
Unix Systems Management                   [EMAIL PROTECTED]
Box 1505                                  Phone: +46 8 727 30 95
S-125 25 �LVSJ�, Sweden                   Fax:   +46 8 647 82 76

-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to