Unix/Linux Go Back    


SCO Santa Cruz Operation (SCO) was a software company based in Santa Cruz, California which was best known for selling three UNIX variants for Intel x86.

Samba Printing

SCO


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 12-04-2015
trolley's Unix or Linux Image
trolley trolley is offline
Registered User
 
Join Date: Dec 2013
Last Activity: 28 March 2017, 10:15 AM EDT
Location: Medway, Massachusetts
Posts: 32
Thanks: 4
Thanked 1 Time in 1 Post
Samba Printing

Hi!

I am trying to print to a HP OfficeJet 4620 that is wireless. I can print to it from Unix command line, but I want to print to from the DOS command line on my PC.

I tried to setup a samba printer on the SCO Unix File Server. I must have done something wrong, I cannot communicate from my PC. It does show up as a share in the network on my PC. My PC is running Windows 7 Professional.

Any suggestions???
Sponsored Links
    #2  
Old Unix and Linux 12-05-2015
RudiC RudiC is offline Forum Staff  
Moderator
 
Join Date: Jul 2012
Last Activity: 27 April 2017, 4:41 AM EDT
Location: Aachen, Germany
Posts: 10,694
Thanks: 263
Thanked 3,284 Times in 3,025 Posts
Did you install that printer correctly on the PC?
Sponsored Links
    #3  
Old Unix and Linux 12-05-2015
jgt's Unix or Linux Image
jgt jgt is offline Forum Advisor  
Registered User
 
Join Date: Apr 2007
Last Activity: 20 April 2017, 6:30 AM EDT
Location: 44.21.48N 80.50.15W
Posts: 1,932
Thanks: 2
Thanked 250 Times in 236 Posts
To print from a DOS command line.

Set the printer up within Windows, and then share it. You should be able to print from a Windows application.
At the Command prompt issue:

Code:
net use lpt1: \\computername\printer

Your DOS application should then be able to print.
The Following User Says Thank You to jgt For This Useful Post:
trolley (12-05-2015)
    #4  
Old Unix and Linux 12-05-2015
trolley's Unix or Linux Image
trolley trolley is offline
Registered User
 
Join Date: Dec 2013
Last Activity: 28 March 2017, 10:15 AM EDT
Location: Medway, Massachusetts
Posts: 32
Thanks: 4
Thanked 1 Time in 1 Post
That works great, except that the printer stills shows it is printing. I have to press the cancel button on the printer before another print job can print.

This is okay, but if someone know why, please reply. I know the HP LaserJet 5, I have to send a form feed to release the printer. However, I am using the lpr command on DOS and Unix. I will give it a try with the print command under DOS.

---------- Post updated at 09:25 PM ---------- Previous update was at 09:20 PM ----------

I tried sending a form feed after printing the document, but that did not work.
Sponsored Links
    #5  
Old Unix and Linux 12-06-2015
jgt's Unix or Linux Image
jgt jgt is offline Forum Advisor  
Registered User
 
Join Date: Apr 2007
Last Activity: 20 April 2017, 6:30 AM EDT
Location: 44.21.48N 80.50.15W
Posts: 1,932
Thanks: 2
Thanked 250 Times in 236 Posts
Probably because the application does not close the print file.
The last page should print if you release the printer from the network.

Code:
net use lpt1: \\cpu\printer /delete

The Following User Says Thank You to jgt For This Useful Post:
trolley (12-06-2015)
Sponsored Links
    #6  
Old Unix and Linux 12-06-2015
trolley's Unix or Linux Image
trolley trolley is offline
Registered User
 
Join Date: Dec 2013
Last Activity: 28 March 2017, 10:15 AM EDT
Location: Medway, Massachusetts
Posts: 32
Thanks: 4
Thanked 1 Time in 1 Post
jgt,

The print completes just fine, but the printer says it is still printing. I tried what you suggested and that did not work.

I am going to chalk is up to another issue with a HP OfficeJet 4620 printer. It is a all-in-one printer. It has some nice features, but it goes to sleep on Windows systems, but wakes up on my Unix File Server. I guess I will rely more on my HP LaserJet 5 (networked) for printing, seeing that I am a developer and print a lot of sections of code or print screens.

Thank you for your help...
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
samba issue: one samba share without password prompting and the others with. ideal2545 Solaris 0 01-12-2012 02:45 PM
Sco Unix printing : jobs hangs in queue - printing via lp versus hpnpf haezeban UNIX for Dummies Questions & Answers 0 08-10-2011 01:53 PM
Linux to Windows Printing: PDF starts printing from middle of page. rohan69 Windows & DOS: Issues & Discussions 5 08-04-2011 05:24 AM
Printing to Windows 7 using Samba 2.0.3 via VPN connection to SCO 3.2v5.0.6 tbb999 SCO 2 08-12-2010 09:43 AM
Printing Problems in unix ... ( Bar-cdoe - Ip Printing) QuickSilver UNIX for Advanced & Expert Users 3 06-04-2002 10:48 AM



All times are GMT -4. The time now is 05:11 AM.