William Hindman
wdhindman at bellsouth.net
Tue Oct 28 12:14:05 CST 2003
...for W2K/WXP check out the net use command line parameters to establish a persistent connection to a port that isn't hardwired ...HTH :) William Hindman <http://www.freestateproject.org> - Do you want liberty in your lifetime? ----- Original Message ----- From: "MastercafeCTV" <mastercafe at ctv.es> To: "'Access Developers discussion and problem solving'" <accessd at databaseadvisors.com> Sent: Tuesday, October 28, 2003 11:44 AM Subject: [AccessD] Direct Print > Hi group: > We are using some routines to print direct to the LPTx: port on our > programs, but the problem is that Win2k or WinXP we can't select any LPTx: > if not exist on the local machine. > The actual routine to print is > > Sub PrintTxt ( Puerto as string, Texto as string) > 'Rem normal use is Open "LPT1:" for Output as #1 > Open puerto for Output as #1 > Print #1, texto > Close #1 > Exit sub > End Sub > > If use Win98SE you can capture any port like Set LPT2: = \\server\epsonTM88 > On win2k and winXP we haven't (i don't know if it's possible) > > We have same problem to use printers on a network or USB connection. > > Basically we need send some control characters in ASCii format to any > printer on a network. > > Any ideas? > > Thanks > > Juan Menéndez > > > =========================================== > MASTERCAFE SL - NIF B-82.617.614 > www.mastercafe.com > Deleg. Asturias > Tel 985.88.49.44 / 627.531.764 > Fax 627.500.205 > info at mastercafe.com > juan at mastercafe.com > Deleg. Madrid > Tel 627.474.285 > cecilia at mastercafe.com > =========================================== > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com >