Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Windows Forms
  4. Remote Desktop Label Printing

Remote Desktop Label Printing

Scheduled Pinned Locked Moved Windows Forms
csharpsysadminquestion
2 Posts 2 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    Ianvn za
    wrote on last edited by
    #1

    I have written an app for a client in VB.Net that prints prices etc to specific labels using a Zebra label printer. All the "coordinates" and data for each item that has to be printed is written in a file and then that file gets printed by using the command line "print c:\sample_file.extension" command. This works perfectly from within their office. Their is one user that remote desktops into the office. This does not work for this user as the print command send the data to the LPT1 port of the host machine (in this case the server). Is there any way to get the same functionality for the remote user?

    M 1 Reply Last reply
    0
    • I Ianvn za

      I have written an app for a client in VB.Net that prints prices etc to specific labels using a Zebra label printer. All the "coordinates" and data for each item that has to be printed is written in a file and then that file gets printed by using the command line "print c:\sample_file.extension" command. This works perfectly from within their office. Their is one user that remote desktops into the office. This does not work for this user as the print command send the data to the LPT1 port of the host machine (in this case the server). Is there any way to get the same functionality for the remote user?

      M Offline
      M Offline
      Member 2053006
      wrote on last edited by
      #2

      Probably the easiest way to do this would be to install the printer driver on his machine (while making sure that he is logged in to the office, so the printer is visible), then sending the file as raw data to the printer. Microsoft has a web page dedicated to doing this, but it is in C# http://support.microsoft.com/kb/322091[^]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups