From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96412534132303.tru64-unix-managers.marc@archive.invalid> From: "Chris Low \(DSL AK\)" Date: Thu, 20 Jul 2000 20:33:29 +0000 To: tru64-unix-managers Subject: Summary (so far, problem not solved yet): Staircasing when print ing X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96412534132303 Hi mamagers, Many thanks to all who replied to my original question: I am getting staircasing effect (ie line feed without carriage return) when I attempt to print to our Xerox Able1321 printer. Does anyone know of a filter file that I can put in the /etc/printcap file, or is there another solution? Paul Crittenden pointed out there might be an option on the printer to change LF to CR/LF. Unfortunately this is not the case on the Xerox printer. If LPRng is used, Richard Loken suggested placing :ld=\033&k2G in the printcap file. Unfiortunately I am still stuck with the standard BSD lpr utility. Richard also pointed out that you cannot do filtering to a network printer!!! So any filter I tried to apply so far did not get passed through (confirmed this with a test filter). Joe Fletcher and Alex Harkema suggested adding rp=text:\ I tried rp=text, pcl and auto (both upper and lower cases), all to no avail. This is what my printcap file looks like so far: lp87|87|P95|wro0403b_xerox:\ :ct=tcp:\ :if=/usr/lbin/pcfof +Cgeneric_text_a4.pcf:\ :of=/usr/lbin/pcfof +Cgeneric_text.pcf:\ :lf=/usr/adm/lp87err:\ :lp=@wro0403b_xerox/Xeprints:\ :mx#0:\ :pl#66:\ :pw#136:\ :sh:\ :rm=wro0403b_xerox:\ :rp=AUTO:\ :xf=/usr/lbin/xf:\ :sd=/usr/spool/lpd87: My findings so far: To allow filtering, I really need to set up TCPIP printing, which is different to remote printing (using rm and rp options in printcap, which does not do filtering when you try to print directly to a network printer). I have tried all the recommended ports for the printer (9100, 2000, 2501), specified by "Xeprints" in /etc/services, but none works. We do have some HP laser printers, which are connected to a print server via port 9100, and uses tcp/ip printing). An example of an HP laser printcap entry: lp80|80|P88|pro0101a_hl1250:\ :lf=/usr/adm/lp80err:\ :if=/usr/lbin/hplaserof_136cols:\ :ct=tcp:\ :lp=@pro0101a_hl1250/hpprints:\ :rm=:\ :rp=:\ :sh:\ :mx#0:\ :pl#66:\ :pw#136:\ :xf=/usr/lbin/xf:\ :sd=/usr/spool/lpd80: The standard tcp port for printer (port 515) works, but it is only for lpd remote printing and will not work for tcp/ip printing (documented in http://home.att.net/~tru64printing/) So I am stuck with three options I can think of: 1) Write a script to test all the ports in the Xerox printer and find one that works 2) Trick the lpd into thinking you are filtering to a local printer and then reroute it to a network printer, as suggested by Richard Loken (HP does this by using two spool queues where you send lpr jobs with filters (their provided filters)to one queue which forwards them to another queue that sends them to the network device (no software available for Digital Unix :-() 3) Install LPRng...how difficult/complex is this, as I have many others printers that are already on the network, all of which work fine with standard lpd (they are connected to a print server)?? Any suggestion? Regards, Chris.