![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Machine Problems, Solutions , Wireless DNC, serial port Need help with your Machine or need a Machining solutions for , Serial Port, Cable problems between PC and all others DNC problems disucss them here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| ||||
| ||||
I have a laser engraver which is controlled by it's own software. The software runs on windows 98 and is used for both designing what you want to cut or engrave AND for driving the device. Currently, the software DOES work for controlling the engraver, but the software only supports pixel based images (bmp and jpg), so I am not able to "plot" out vector based (as in DXF or CAD based files) which is what I need to be able to do According to the manual, I should be able to operate the engraver using a windows printer driver or from DOS. But I have been told by manufacturer that these options don't actually work. The engraver is connected to LPT1 and their software specifies LPT1. Is there a way, in Windows 98, to hijack, copy, split, hack or otherwise redirect the output of LPT1 to a file while simultaneously leaving a device attached to LPT1? I would like to try to copy or direct the LPT1 output to a file so that I can see what kind of file the engraver is receiving. In order for the software to actually put data out thru LPT1, the engraver has to be attached. The goal will be: 1) to copy the output to file -> LPT1test.txt 2) determine what kind of file is LPT1test.txt (hpgl?) 3) copy /b LPT1test.txt LPT1 to see if I can get a file to "plot" Thank you Steve |
|
#2
| |||
| |||
| Try creating a printer using the following method (XP or equiv.) Start Settings Printers Add New printer Local Printer (Uncheck Auto detect and install Plug and play printer) Change Use the following port from LPT1 to "FILE: (Print to File)" Select the printer driver from the list or use the driver disk that came with the engraver, Call it something like Engrave2File When you Print something from the Engraver software you should get a prompt for the output file name. Save the file to someplace and name you can remeber (Ie c:\output.raw) Next you need to create a printer using LPT1 using the procedure above, call it engraver, set it as default printer; from command line or create a script, to do a "copy output.raw lpt1 /b" The output is going to be Windows RAW format, and can be pretty large depending on the output of the print job. Edit: Got out of order.. Typed to quickly. |
|
#4
| ||||
| ||||
| Thank you for the advice. I realize that I need to explain a little more... Their software doesn't use a printer driver to control the device. So, when you press the output button, "some magic happens" (a virtual device driver calls some .dll files somewhere) and then some data goes out the parallel port into a buffer in the device and the plotter head moves. From within their software, there is no File->print->print setup like there is in most windows programs. There is only an output button and the output only goes to LPT1 and thats it. |
|
#5
| |||
| |||
| You are going to need a LPT sniffer type program such as http://mpsniffer.softic.biz/ (If it can output to a file not 100% sure) because the program is writing directly to the hardware port. Multiport sniffer is like 80$ but if you look around I think I have seen one or two cheaper ones. Or you can look for hardware based solutions such as the para-scope but they run in the 300-1000$ range. |
| Sponsored Links |
|
#6
| |||
| |||
If this is your case what you need is some utility that "intecepts" every in/out data n the LPT1 port and write is on some file. May be that such utilities does exists, but shouldn't be easier ask your supplier for some doc on the format used by the engraver ? Sandro PS: Please don't laugh for my english errors. I learned english watching CNN on the satellite here in Italy !! PPSS: Can someone explain me the meaning of "drip feed" and "DNC" terms ? |
|
#7
| ||||
| ||||
| Ciao Sandro - Come Vai - Tutto e bene! Your English is close to perfect - no worries. I wish I could ask the supplier for any information. I bought the laser engraver from China and the support is limited. The software is supposed to work on any Windows 95,98 2000, XP - But, you are correct - I think I do need to intercept all LPT1 data flow. Many thanks - Osservate il Giro D'Italia sulla televisione? Chi desiderate vincere? |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |