Jump to content


Click the link below to see the new game I'm developing!


Photo
- - - - -

Convert Printer Mapping Setup


2 replies to this topic

#1 Charles Seno

Charles Seno

    Newbie

  • Members
  • Pip
  • 4 posts
  • Gender:Male
  • Location:Cleveland, United States

Posted 19 May 2004 - 04:34 PM

:D I have a barcode label printer attached to LPT1 using Windows driver mappings. I can print labels from the machine if I have mapped the printer using the following Printer Mapping Setup:

Host Printer LP0
Windows Printer DEVICE:
Device/File Name LPT1

My question is how can I convert the above to any/all of the following:
$SPOOL
@RPTOPT
SET_RPTOPT

I have tried many combinations, but either I get a locked screen which forces me to disconnect or "Error Code 13, 140 - CANNOT SUCCESSFULLY OPEN PRINT FILE).


Running Glovia 4.2, Kernel Version 4.6000, Revision 5.0.0a (Aug 7, 02)

#2 Ross Bevin

Ross Bevin

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 240 posts
  • Gender:Male
  • Location:San Miguel de Allende, GTO, Mexico

Posted 19 May 2004 - 04:48 PM

Create a share name for the printer in Windows. Then in @RPTOPT set the following.

@RPTOPT = "9,\\computer name\printer share name"

#3 Charles Seno

Charles Seno

    Newbie

  • Members
  • Pip
  • 4 posts
  • Gender:Male
  • Location:Cleveland, United States

Posted 19 May 2004 - 05:58 PM

Thanks, Ross, it works fine!



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Click the link below to see the new game I'm developing!