From: Emmanuel Choquet <ics@cica.fr>
To: "Dean J." <jackmand@nospam.com>
Subject: Re: Postscript Printing Problems (probably a pretty easy one!)
Date: 1998/05/07 [thread overview]
Message-ID: <3551D71E.B839813E@cica.fr> (raw)
In-Reply-To: 3551AB26.754E@nospam.com
Dean J. wrote: My problem is that the printers (as they are currently
configured) on
> the network don't seem to support Postscript characters. Instead, I just
> seem to be getting a postscript file printed out in its literal ascii
> representation (e.g. %%Title ..., %%Creator ... plenty of Postscript
> instructions, but nothing formatted).
>
> I originally configured the printers using the System
> Administrator/Printer Configuration tool which is part of Digital Unix
> 4.0D's system admin toolset.
>
> Is there someway I can rectify the problem, i.e. get my printers to
> support or interpret the Postscript files correctly?
What kind of printer do you use ?
if you have HP printer with jecdirect, one port, for instance configure
twice your printer
Assuming jet_address is the TCPIP Address of the jet direct card :
lprsetup
"Command" add
"Enter printer name" HPascii
"Type of printer" remote
"Spool directory"
"Error log"
"Set remote system name 'rm' [] ?" jet_address
"Set remote system printer name 'rp' [] ?" TEXT
"Enter symbol name " q
accept the rest and then redeclare it as PS printer :
lprsetup
"Command" add
"Enter printer name" HPascii
"Type of printer" remote
"Spool directory"
"Error log"
"Set remote system name 'rm' [] ?" jet_address
"Set remote system printer name 'rp' [] ?" RAW
"Enter symbol name " q
Remark : jet_address must be in the /etc/hosts file
For other manufacturers see the documentation of the printer NIC, sometimes
you'll have to telnet onto it to configure.
Last words, if you spool on an NT machine, you must set your printer on WNT
:
this works same way on WNT 4.0 :
DOCUMENT:Q150930 28-AUG-1996 [winnt]
TITLE :LPD Server Adds and Prints Control Codes
PRODUCT :Microsoft Windows NT
PROD/VER:3.50 3.51
OPER/SYS:WINDOWS
KEYWORDS:kbnetwork
-------------------------------------------------------------------------
The information in this article applies to:
- Microsoft Windows NT Workstation versions 3.5 and 3.51
- Microsoft Windows NT Server versions 3.5 and 3.51
SYMPTOMS
========
When a formatted job prints from an LPR client to a Windows NT computer
that is running the LPD services, PCL or PostScript codes are printed on
the output instead of a properly formatted document.
WORKAROUND
==========
In Windows NT 3.51, this problem can be prevented by reconfiguring LPD
to
ignore the control command and always assign the RAW datatype. However,
the code that implements this is not working. The code looks for a
registry
setting in the LPD key instead of the LPDSVC key. You can work around
this
problem by creating an LPD key at the same level of the LPDSVC key, and
then provide duplicate information of the LPDSVC key to the LPD key.
For Windows NT 3.51 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, choose 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.
5. To work around the problem mentioned above, create an LPD key at
the same level of the LPDSVC key.
6. Select the LPDSVC Key and choose Save Key from the Registry menu,
save the file as LPDSVC.KEY.
7. Select the LPD key created in step 5.
8. Choose Restore on the Registry menu and select the file created
in step 6. Click OK.
9. A warning message appears. Click OK and quit the Registry Editor.
10. At a command prompt, type:
net stop lpdsvc
11. At a command prompt, type:
net start lpdsvc
MORE INFORMATION
================
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.
Some LPR clients cannot be configured to send different control
characters
and always send an "f". This control character instructs Windows NT to
assign a data type of TEXT and to use the printer driver to create a new
print job that prints the text of the original job on the page. In the
case
of a postscript job, the new print job prints the original job's
PostScript
code on the page.
Good luck
--
Emmanuel Choquet
Informatique Client/Serveur
& Communication
_/
_/
_/ _/_/_/ _/ _/_/_/
_/ _/ _/ _/
_/ _/ _/ _/_/_/
_/ _/ _/ _/
_/ _/_/_/ _/ _/_/_/
ics@cica.fr
c/o Cica Tel: (33) 4 92.94.23.50
2229, route des cretes fax: (33) 4 92.94.23.54
06560 Sophia-Antipolis
next prev parent reply other threads:[~1998-05-07 4:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-05-07 4:00 Postscript Printing Problems (probably a pretty easy one!) Dean J.
1998-05-07 4:00 ` Emmanuel Choquet [this message]
1998-05-07 4:00 ` Patrick Leung
1998-05-07 4:00 ` Emmanuel Choquet
1998-05-11 4:00 ` Don't use lpd remote when you can use tcp/ip Ernest LaBonte
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox