DaemonForums  

Go Back   DaemonForums > Miscellaneous > General software and network

General software and network General OS-independent software and network questions, X11, MTA, routing, etc.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 9th October 2008
drhowarddrfine drhowarddrfine is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 377
Default Print on remote WinXP from web host

I have a guy with a XP computer that runs a POS cash register. He also has an online website where he wants to take online orders. When the online order is completed, it would be great if we could send the completed form to the XP computer to print the order on its printer but I don't immediately know of a way to do that.

The host will open up a port for me to send on but I don't think I can install anything there since it's a shared host. Does anyone have any knowledge/experience with that?
Reply With Quote
  #2   (View Single Post)  
Old 10th October 2008
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,125
Default

How about wrapping the order in an email message, either in-line or as attachment, which the Win XP client will retrieve.

Or let the Win XP client scp (using PuTTY, the Windows SSH suite) the orders from the host.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #3   (View Single Post)  
Old 11th October 2008
robbak's Avatar
robbak robbak is offline
Real Name: Robert Backhaus
VPN Cryptographer
 
Join Date: May 2008
Location: North Queensland, Australia
Posts: 366
Default

samba can allow you to print to a windows print server, as can cups. Most Point-Of-Sale printers understand plain text, too. Just make sure the printer has a windows print driver installed, share the printer, and select and configure your print mechanism on *BSD. When it is all done, 'cat file | lpr -p POSprinter' or 'lpr file' should print it.
__________________
The only dumb question is a question not asked.
The only dumb answer is an answer not given.
Reply With Quote
  #4   (View Single Post)  
Old 11th October 2008
drhowarddrfine drhowarddrfine is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 377
Default

I can't use Samba or CUPS. It's not available and I can't have it installed.

I thought of the email idea but how would Windows automatically detect, download and print it?

I didn't think of the PuTTy idea. According to their FAQ, I want to use Plink. But then I'd have to ssh with my one and only userid/password.
Reply With Quote
  #5   (View Single Post)  
Old 12th October 2008
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,125
Default

Quote:
Originally Posted by drhowarddrfine View Post
But then I'd have to ssh with my one and only userid/password.
Public key authentication needs no password
See http://daemonforums.org/showthread.php?t=1758

You only have to keep in mind that PuTTY has a different format for the public key. There is a conversion utility that converts the key to the 'official' OpenSSH format.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #6   (View Single Post)  
Old 13th October 2008
roddierod's Avatar
roddierod roddierod is offline
Real Name: Rod Person
VPN Cryptographer
 
Join Date: Apr 2008
Location: Pittsburgh, Pa
Posts: 437
Default

Quote:
Originally Posted by drhowarddrfine View Post
I thought of the email idea but how would Windows automatically detect, download and print it?
One way, if the client is Outlook you can set up a Rule that automatically prints a incoming email based on the Subject, or from or what ever. I don't know if that is available in Outlook express.
__________________
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows scripts can't print drhowarddrfine Other OS 15 31st March 2009 08:53 AM
qemu + guest os winxp - very slow.. DNAeon FreeBSD Ports and Packages 19 21st November 2008 10:00 AM
FBSD emulating pdc w/ AD, exchange and print server? cgc2 FreeBSD General 9 16th July 2008 04:14 PM
Dual-booting WinXP, FreeBSD; unlikely disk geometry ronaldmcdonald9 FreeBSD Installation and Upgrading 6 11th July 2008 06:10 PM
Appending to file on remote host via SSH splooge Programming 10 7th June 2008 10:23 PM


All times are GMT. The time now is 10:07 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick