Paul, --- paulcun at talk21.com wrote: > > Set up your print q using the 'printmgr' > (/usr/sbin/printmgr) so that it uses a ppd file for > your printer. > > For paper size ... > > use the 'lp -o media=A3' option to print to a3 > paper. > This could also be added to a dedicated A3 print q > by > modifying the q's configuration with lpadmin. > > # lpadmin -p myprinter -o media=A3
and for Paper Orientation ... use the 'lp -y landscape' option. There is a '-o' option of "-o orientation-requested=4" (for landscape) but I can't remember if that works for all printer ppd's Paul > > --- Paul Parsons <paul.parsons at advanticagroup.com> > wrote: > > > I'm trying to set up a printer so that I can use > > orientation and paper size options. > > I need to be able to print landscape or portrait > and > > in paper sizes A3 or A4. > > The printer is on a network and I'm happy to set > it > > up so that the x86 Solaris 10 system talks > directly > > to it, not through a Windows server. The printer > is > > an HP Color Laserjet 8550N and it's set up so that > > A3 and portrait are the default size and > > orientation. I can print to it, but everything > comes > > out A3/portrait and I can't figure out how to > change > > that. I don't mind setting up 4 queues to the same > > printer if that's the way to do it. Tray 1 is a > > sheet feeder (not to be used), tray 2 contains A4 > > paper and tray 3 contains A3 paper. > > > > Here's the commands I've used successfully to set > up > > a printer queue. The name of the printer is > > my_printer in NIS. > > > > lpadmin -p my_printer_ps -v /dev/null > > lpadmin -p my_printer_ps -i > > /usr/lib/lp/model/netstandard > > lpadmin -p my_printer_ps -o dest=my_printer:9100 > -o > > protocol=tcp -o timeout=5 -o banner=never > > lpadmin -p my_printer_ps -T PS -I > postscript,simple > > accept my_printer_ps > > /usr/bin/enable my_printer_ps > > > > Then I can print plot.hp2 using the following > > command: > > > > lp -d my_printer_ps -o nobanner plot.hp2 > > > > Can anybody help please? > > > > Paul > > > > > > This message posted from opensolaris.org > > _______________________________________________ > > printing-discuss mailing list > > printing-discuss at opensolaris.org > > > > _______________________________________________ > printing-discuss mailing list > printing-discuss at opensolaris.org >
