Re: LPRng: spooling to windows lpd
From [EMAIL PROTECTED] Wed Nov 21 08:06:22 2001 Date: Wed, 21 Nov 2001 10:10:06 -0500 From: Rajeev Agrawala [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: LPRng: spooling to windows lpd As per windows FAQ, if you wish to spool to windows lpd server l cahracter must be passed to windows lpd for passing the job directly to printer. Following is the text from Microsoft site The Windows NT LPD Service follows the RFC1179 specification. This states that the LPR client must tell the LPD server how to handle the print job. If the client formats the job, it must send the l control character to instruct the LPD server to print the job without any alteration. How can I make LPRng lpd server send 'l' character. Without this, windows lpd prints the actual postscript I sent to the lpd server. Here is my printcap entry. I am using LPRng-3.7.4: hp|Hp Laserjet 6mp:\ :lpd_bounce:\ :rp=hp:lp=hp@pc:\ :af=/var/log/printer/acct:\ :lf=/var/log/printer/hp-errs:\ :sd=/var/spool/lpd/hp:\ :sh:\ :bk:\ :mx=0:ff_separator@:\ :if=/opt/ifhp/libexec/filters/ifhp -Tdebug=0 -Tmodel=hp6mp: Try adding: :bq_format=l Thanks, rajeev Patrick Powell Astart Technologies, [EMAIL PROTECTED]9475 Chesapeake Drive, Suite D, Network and System San Diego, CA 92123 Consulting 858-874-6543 FAX 858-279-8424 LPRng - Print Spooler (http://www.lprng.com) - YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address 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. -
Re: LPRng: spooling to windows lpd
hi, multiple possibilities: on the command line:'lpr -Fl -Pprinter or lpr -l -Pprinter in the printcap: 'default_format=l' (or 'global' in the lpd.conf file with the same entry) (this works only on the client, the machine that creates the controlfile) do the translation for incoming jobs on the printserver: 'translate_incoming_format=fl' (in the printcap or the lpd.conf file) reagards ~christoph Rajeev Agrawala wrote: As per windows FAQ, if you wish to spool to windows lpd server l cahracter must be passed to windows lpd for passing the job directly to printer. Following is the text from Microsoft site The Windows NT LPD Service follows the RFC1179 specification. This states that the LPR client must tell the LPD server how to handle the print job. If the client formats the job, it must send the l control character to instruct the LPD server to print the job without any alteration. How can I make LPRng lpd server send 'l' character. Without this, windows lpd prints the actual postscript I sent to the lpd server. Here is my printcap entry. I am using LPRng-3.7.4: hp|Hp Laserjet 6mp:\ :lpd_bounce:\ :rp=hp:lp=hp@pc:\ :af=/var/log/printer/acct:\ :lf=/var/log/printer/hp-errs:\ :sd=/var/spool/lpd/hp:\ :sh:\ :bk:\ :mx=0:ff_separator@:\ :if=/opt/ifhp/libexec/filters/ifhp -Tdebug=0 -Tmodel=hp6mp: Thanks, rajeev - YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address 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. - -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY| Phone: 040-8998-2317 * * - IT - | Fax: 040-8998-4060 * \* 22603 Hamburg | http://www.desy.de */ - YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address 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. -
Re: LPRng: spooling to windows lpd
you didn't mention if this was 2000. On NT4, the following helped me. SYMPTOMS When a formatted job prints from a line printer remote (LPR) client to a Windows NT computer that is running the Line Printing Demon (LPD) services, PCL or PostScript codes are printed instead of a properly formatted document. RESOLUTION == The LPD service can be reconfigured to ignore the format control command from the LPR client and always assign the RAW datatype. Use one of the appropriate sections below to reconfigure the LPD service. NOTE: This setting is not available for a single printer. This setting affects all printers on the Windows NT Server that are receiving print jobs from LPR clients. Print jobs from non-LPR clients are not affected by this setting. Configuring SimulatePassThrough In Windows NT 4.0 - For Windows NT 4.0 to assign the RAW datatype, regardless of the control file contents, do the following: WARNING: Using Registry Editor incorrectly can cause serious, system- wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk. 1. Run Registry Editor (REGEDT32.EXE). 2. From the HKEY_LOCAL_MACHINE subtree, go to the following key: \SYSTEM\CurrentControlSet\Services\LPDSVC\Parameters 3. On the Edit menu, click Add Value. 4. Add the following: Value Name: SimulatePassThrough Data Type: REG_DWORD Data: 1 NOTE: The default value is 0, which informs LPD to assign datatypes according to the control commands. On Wed, 21 Nov 2001, Rajeev Agrawala wrote: As per windows FAQ, if you wish to spool to windows lpd server l cahracter must be passed to windows lpd for passing the job directly to printer. Following is the text from Microsoft site The Windows NT LPD Service follows the RFC1179 specification. This states that the LPR client must tell the LPD server how to handle the print job. If the client formats the job, it must send the l control character to instruct the LPD server to print the job without any alteration. How can I make LPRng lpd server send 'l' character. Without this, windows lpd prints the actual postscript I sent to the lpd server. Here is my printcap entry. I am using LPRng-3.7.4: hp|Hp Laserjet 6mp:\ :lpd_bounce:\ :rp=hp:lp=hp@pc:\ :af=/var/log/printer/acct:\ :lf=/var/log/printer/hp-errs:\ :sd=/var/spool/lpd/hp:\ :sh:\ :bk:\ :mx=0:ff_separator@:\ :if=/opt/ifhp/libexec/filters/ifhp -Tdebug=0 -Tmodel=hp6mp: Thanks, rajeev - YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address 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. - -- David Bear College of Public Programs/ASU 480-965-8257 ...the way is like water, going where nobody wants it to go - YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address 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. -