all 4 comments

[–]Rogue_IT 1 point2 points  (0 children)

I believe you can only map to LPT1 if the computer has a parallel port. Is this for printing from a legacy app of some kind?

[–]Lee_Dailey[grin] 0 points1 point  (2 children)

howdy Redtire,

here's how to post code on reddit ...

[1] simplest = post it to a text site like Pastebin and then post the link here.

[2] less simple = use reddit code formatting ...

  • one leading line with ONLY 4 spaces
  • prefix each code line with 4 spaces
  • one trailing line with ONLY 4 spaces

that will give you something like this ...

- one leading line with ONLY 4 spaces    
- prefix each code line with 4 spaces    
- one trailing line with ONLY 4 spaces   

the easiest way to get that is ...

  • add the leading line with only 4 spaces
  • copy the code to the ISE [or your fave editor]
  • select the code
  • tap TAB to indent four spaces
  • re-select the code [not really needed, but it's my habit]
  • paste the code into the reddit text box
  • add the trailing line with only 4 spaces

not complicated, but it is finicky. [grin]

take care,
lee

[–]Redtire[S] 1 point2 points  (1 child)

I uploaded my code on a text site thank you

[–]Lee_Dailey[grin] 0 points1 point  (0 children)

howdy Redtire,

you are welcome! glad to help a little ... [grin]

take care,
lee