Remote printing from 3.2.4 to NT 4.0

Remote printing from 3.2.4 to NT 4.0

Post by Roberto Zi » Sat, 13 Sep 1997 04:00:00




Quote:

>I'm able to print from my SCO machine to the NT counterpart (sp3).  The
>problem is that any document containing control code is printing the
>control code instead of interpreting them.

>The NT machine is telling me that the SCO machine transfer the document in
>TEXT mode where it should be (is assume) in RAW mode.  If I force RAW mode
>on the NT machine, any printing from SCO is stopped.

>Where can I force the SCO machine to transfer in RAW mode?

>Thanks in advance.

>-Stephane

Hi !

This reminds me of another issue related to LPD printing; if fact
(AFAIK) SCO's lpd is unable to process remote job sent either in
'verbose' or 'raw' mode (this has been confirmed a while ago by
a SCO's techie). On the other side, I think SCO's lpd (client) always
sends print job in text mode (there is a flag in the control file
- which the client sends to the server along with the data stream -
always set to 'text' mode).

I had the chance to play with some LPD servers for Windows and
they had the options to elaborate remote print jobs without taking
care of the above mentionned flag (read, send it to the printer in
raw mode or elaborate it in order to escape control sequences).

If you're interested, I could send to you a little rlp client program
which operates without the intervention of the underlying spooler
which has the option to set the flag in raw/text mode.

Drop me a line so I could arrange this for your needs.

Best,
Roberto

--
P.S. : please remove the ending "dy" from my Email address      
       if you want to reply.
------------------------------------------------------------------------

Strhold Sistemi EDP                           Reggio Emilia      ITALY                                        

------------------------------------------------------------------------
"Has anybody seen an aircraft carrier around ?"                            
(Pete "Maverick" Mitchell - Top Gun)                        

 
 
 

Remote printing from 3.2.4 to NT 4.0

Post by Greg Wilki » Tue, 16 Sep 1997 04:00:00




>>I'm able to print from my SCO machine to the NT counterpart (sp3).  The
>>problem is that any document containing control code is printing the
>>control code instead of interpreting them.

>>The NT machine is telling me that the SCO machine transfer the document in
>>TEXT mode where it should be (is assume) in RAW mode.  If I force RAW mode
>>on the NT machine, any printing from SCO is stopped.

>>Where can I force the SCO machine to transfer in RAW mode?

>>Thanks in advance.

>>-Stephane

A couple of suggestions:

(1). Get an HP Jet direct card and use TCP/IP to print to the printers
directly.

(2). You can modify the
/usr/spool/lp/admins/lp/interfaces/printer_name file and change the
line that states the file to be sent in "raw" mode rather than
"cooked" mode.  For HP printers, it is around line 250 I belive.

Example:

# Initialize option variables to default values
length="def"
pitch="def"
spitch="def"
hsi="def"
quality="def"
squality="def"
spacing="def"
sspacing="def"
lpi="def"
vsi="def"
charset="def"
scharset="def"
height="def"
sheight="def"        
sweight="def"
pagelen="def"
tpagelen="def"
lmargin="def"
rmargin="def"
outputmode="cooked" <-- CHANGE THIS to  outputmode="raw"
banner="yes"
orientation="def"
pagemode="def"
nroff=""
italics=""
duplex=""
format=""

# Determine which options have been invoked

 
 
 

1. Q: Blank page when printing with Samba from NT 4.0 to Linux print server

I'm using the S.u.S.E 5.3 Linux  and Samba 1.9.18.p.8.
When I'm printing on an HP4 printer with Wordpad or Pagemaker or other
Windows-Printer then the Linux printer puts a blank page at the end of
the job.

This is an excerpt from /etc/printcap

raw|lp3|ljet4-a4-raw|ljet4 a4 raw:\
        :lp=/dev/lp1:\
        :sd=/var/spool/lpd/ljet4-a4-raw:\
        :lf=/var/spool/lpd/ljet4-a4-raw/log:\
        :af=/var/spool/lpd/ljet4-a4-raw/acct:\
        :if=/var/lib/apsfilter/bin/ljet4-a4-raw:\

        :sh:sf:

HP4|remote printer on server:\
        :sd=/var/spool/lpd/HP4:\
        :rm=server:\
        :rp=raw:\
       :sh:sf:

An here the excerpt from smb.conf:

; Sektion [printers]
        [printers]
        comment         = Network printer
        path                    = /var/tmp
        read only               = yes
        browsable               = yes
        public                  = yes
        printable               = yes

; Samba network printer
        [HP4]
        security                        = user
        path                    = /var/spool/lpd/HP4
        printer name            = lp3
        writeable               = no
        browsable               = yes
        public                  = yes
        printable               = yes
        lprm command            = /usr/bin/lprm -P%p %j
        lpq command             = /usr/bin/lpq %p
        print command           = /usr/bin/lpr -r -P %p %s

Is there any hint?

Thanks!

Hermann

2. Renaming disks on AIX 4.3.3

3. Red Hat 4.0 Kernel 2.0.18 Remote Printing.

4. Thanks, here is the more info,

5. still trouble with remote printing on redhat 4.0

6. Newbie: Info/link to a SPARC/Clone FAQ on the web ?

7. NT NT NT NT NT NT NT MT

8. Recovering "invisible" partition and fixing DOS CDROM driver

9. Remote Printing under RedHat 4.0

10. Printing through NT 4.0

11. AFPS 5.0.2 Print to NT 4.0

12. Printing from AIX via NT 4.0

13. Printing from Solaris 2.5 -> NT 4.0 (not old ps problem)