Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem printing thru XP system from RedHat 9

Status
Not open for further replies.

Mortalkind

Technical User
Jun 9, 2002
27
US
I have a Panasonic KX-P4420 Laser Printer (not Postscript) connected to a computer running Windows XP. I am trying to print on that printer from another computer on the network running RedHat 9. I am able to get data to the printer but it is all trash and looks as if it may be postscript commands since some of the trash contains "%!PS-Adobe-3.0".

Using the printer configuration tools provided with RedHat I have set the Que type to "Networked Windows (SMB) and the print driver to "Raw Print Que". I have also tried setting the print driver to "Text only Printer" with roughly the same results.

Anyone know what I am doing wrong?

Roger
 
The Panasonic driver is probably postscript only. It won't matter what you set the queue to, if the output from the driver is ps.

Are you able to print to the printer when it is locally attached? If not, then you will need to get the PS software for the printer.

Is the printer capable of being directly network attached?


pansophic
 
Try this:
delete your printer entirely, then set it up as raw print queue. We found that configuration files were left over when trying different queue types.
 
Thanks to both Pansophic and mrregan. But the problem remains. The printer will print when attached directly to the Linux machine if I use the 4410 driver build into Red Hat. But I need it in the room with the XP system. I tried deleting the Printer in RedHat and then recreating it "Raw Print Que" but the results were the same. When I look at the status of the printer in XP when sending something to the printer from Linux, XP shows that it is being sent Raw.

Roger
 
Are you sharing the printer through XP as an SMB share?

Is it possible to share it as an IPP device?

I've gottten IPP working before, but never successfully attached a printer through an SMB share.


pansophic
 
Another simple solution is to buy a "pocket print server".
Attach it to the parallel port. run a cable from the print server to the hub. Easy setup in windows and linux, since it becomes a "network printer"
 
Did you figure this one out? I have a couple queues set up on XP boxes, and print to them from AIX. There is a registry hack for XP to set the shared printer up as "pass-through". I have a doc somewhere if you need it....
 
Hey jesntelle, no I still have not solved this. If you think the hack would help, then I'd love to try it.
 
Mortalkind,

Here's the doc.......


To install Print Services for UNIX on Windows 2000 and Windows XP:

1.Log on to the Windows server with an administrative-level account.

2.Start the Add/Remove Programs tool in Control Panel.

3.Click Add/Remove Windows Components.

4.Click Other Network File and Print Services, and then click Details.

5.Click to select the Print Services for UNIX check box, and then click OK.

6.Follow the instructions on the screen to finish the installation.

To install Print Services for UNIX on Windows NT 4.0:

1.Right-click Network Neighborhood, and then click Properties.

2.Click the Services tab, and then click Add.

3.Click Microsoft TCP/IP Printing, and then click OK. Insert the source CD-ROM if you are prompted to do so.

4.Click Close, and then restart the computer when you are prompted to do so.

Once all of this is completed it is necessary to add a registry key as for UNIX to successfully pass data to an NT server the data type must be set to RAW.

1.Start the registry editor (regedit.exe)

2.Move to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LPDSVC\Parameters

3.From the Edit menu select New - DWORD value

4.Enter a name of SimulatePassThrough and press Enter

5.Double click the new value and set to 1. Click OK

6.Close the registry editor

The default value for SimulatePassThrough is 0, which informs LPD to assign data types according to the control commands.

You should now shutdown and restart the server. Once the start has completed the NT box will be able to accept UNIX print jobs.

This works flawlessly on my AIX queues. Let me know how this turns out.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top