![]() Advice on how to get them working properly on a modern computing platform is rampant on the Web. Print #1, Worksheets("STRINGS").Cells(rows, 1).ValueĭOS programs are still used in the world of business. ![]() Now you can easily print in VBA (tested with Windows 7 64-bit and ZM400 Zebra printer) Open "\\Kb\ZM400" For Output As #1 'Kb = computer Name ZM400 = Shared printer nameįor rows = 1 To 37 ' send the first 37 rows of ASCII codes from the worksheet "STRINGS" With few rows of code you will be able to send ASCII codes to the printer as used in the past. Assign a LPTx: port as explained before by command line (this is for every SW that needs an old LPT).Install the Microsoft Loopback adapter on a fixed unused IP address (otherwise your printer will be not visible when the cable is disconnected).Share the Generic /Text Only printer in order to make it visible easily in VBA.Install a Generic / Text Only driver and change the port to the same logical USB port as seen on point 1.Change the driver's port to FILE (and free up the USB port).Install the USB printer with its drivers (just to find on which USB port is connected).Here we are speaking about using a very old legacy software on hardware with USB only connections. Using a USB to parallel adapter doesn't make any sense.
0 Comments
Leave a Reply. |