From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,729c178ea734be06 X-Google-Attributes: gidfee84,public From: aoki@faerie.CS.Berkeley.EDU (Paul M. Aoki) Subject: Re: HELP: printing from OSF to NT based lpd Date: 1995/11/17 Message-ID: <48ho6s$o6t@agate.berkeley.edu>#1/1 X-Deja-AN: 119579178 references: <48fv34$k8l@orca.osg.gov.bc.ca> organization: University of California at Berkeley reply-to: aoki@CS.Berkeley.EDU (Paul M. Aoki) newsgroups: comp.unix.osf.osf1 cflight@bcsc02.gov.bc.ca (Chris Flight) writes: | Has anyone had any experiences trying to print from an OSF print queue | to a Windows NT based LPD? I keep running in the same messages: | | waiting for queue to be enabled on | | The queue exists, and is enabled on the NT box but the OSF box can't seem | to forward the print streams (they just stay in the local spool). i've seen this two times: when i forgot to make the unix spool directory before trying to spool something, and when i changed something in printcap that required kicking lpd (using the lpc 'restart' command). other than that, getting nt lpd going was fairly straightforward -- create the nt printer, load and start lpdsvc, make the unix printcap entry and spools. i've managed to get stuff from the unix box to the nt lpd, but now i have a different problem. the nt lpd is braindead -- the default lpd control characters that osf/1 puts into its control files make nt lpd think that you want to print the job as text (i.e., line printer output). you can get around this by using "lpr -x", but you can only imagine how easy it is to get people to remember to spool their postscript using an extra flag, or use a script, or whatever. i've seen some fairly complex solutions for this on alpha-osf-managers (they involved multiple print spools, scripts with lpr commands invoked from lpd filters, etc.) and frankly, i'd rather just have a way to make the osf/1 lpd use the 'x' (raw) control character for that printer by default. another nice alternative would be a version of lpd for nt that used the "%!PS" hack to figure out that postscript was coming. any suggestions?