Results 1 to 13 of 13

Thread: [RESOLVED] Public Network Printer

  1. #1

    Thread Starter
    Fanatic Member sessi4ml's Avatar
    Join Date
    Nov 2006
    Location
    Near San Francisco
    Posts
    958

    Resolved [RESOLVED] Public Network Printer

    I am trying to add a Public printer...yes, I understand the problems.
    This printer is LPT1, so I think the danger is minable.

    CP > printer > add printer.....
    \\public-ip\PrinterHP5

    This does not work.
    Using "What is Transfering"...link below, nothing leaves my PC.
    I then used out-of-the-box Laptop with a dial up connection..
    Still nothing.
    Where may I find the list of ports? ... What port does the printer use?
    Maybe I have something blocking the ports on my PC?
    Aniti-virus?...no
    Thanks
    Attached Images Attached Images  

  2. #2
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    354

    Re: Public Network Printer

    LPT1 printer indicates that printer is not on the "network" but directly hookup with a IEEE1284 cable to your PC. Why are you trying to add it like a network printer if it is directly connected.

    second thing is in your screenshot \\69.xxx.xxx.xxx is a non-private address which means it is internet routable? That means I can print to your printer i theory. every see totally black page printed hundreds of time from someone on the internet? nuk nuk nuk.

    Anyway, my point, first you need to figure out if this connected to your network with a cat5(e) or cat6 cable with a network card. The card is probably called jetdirect or directly built into the printer if it is hp. it could also available through a share.

    if it is a connect with a ieee1284 (centronix cable) choose the first option in the wizard. don't print through share if you are directly connected.

    ok if it shared and you trying to print from another pc, tell me how your network is setup.

    simply listing the ports wouldn't help you figure what is blocked. if there is a firewall in play adding pc to a trusted is what is needed not unblock ports.

  3. #3
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Public Network Printer

    If you created a local ip port it will start with IP_xxx.xxx.xxx.xxx. Having a printer be public on your local network does not mean you need to use a public ip address. You can add it as a local printer and then share it to all users on your local network. If you dont want to have the requirement of having that system always turned on for other system to print to it, then you would want to get a print server.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  4. #4

    Thread Starter
    Fanatic Member sessi4ml's Avatar
    Join Date
    Nov 2006
    Location
    Near San Francisco
    Posts
    958

    Re: Public Network Printer

    Apparently I don’t have communication skills.
    I want every salesman in the world to be able to print to my LPT1.
    All ports are being forwarding to this PC, and LPT1 is being shared.
    I thought this would be easy, forwarding a public IP to a private IP, shared printer.
    I can PcAnyWhere this PC..no problem with ip forwarding
    I don’t see what I am doing wrong.
    This should work?...right ?

  5. #5
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Public Network Printer

    Do you have port forwarding setup on your router?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  6. #6

  7. #7

    Thread Starter
    Fanatic Member sessi4ml's Avatar
    Join Date
    Nov 2006
    Location
    Near San Francisco
    Posts
    958

    Re: Public Network Printer

    Why may I find the Port numbers?
    Http is port 80
    What port is Lpt1?
    Thanks

  8. #8
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Public Network Printer

    Printers are one of my most hated parts of a computer lol.

    The port is LPT1. What router do you have and have you looked at the forwarding page of its CP?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  9. #9

    Thread Starter
    Fanatic Member sessi4ml's Avatar
    Join Date
    Nov 2006
    Location
    Near San Francisco
    Posts
    958

    Re: Public Network Printer

    For this to work, I had to create a VPN between the two PC.
    A VPN is very interesting.

  10. #10
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: [RESOLVED] Public Network Printer

    Yup, remember my thread on setting up a VPN on SBS 2003
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  11. #11
    Hyperactive Member
    Join Date
    Mar 2007
    Location
    Hong Kong
    Posts
    384

    Re: [RESOLVED] Public Network Printer

    Ha now I am doing the samething as sessi4ml doing...
    can anyone share the code of using same printer on the network by vb 2005?

  12. #12
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    354

    Re: [RESOLVED] Public Network Printer


  13. #13

    Thread Starter
    Fanatic Member sessi4ml's Avatar
    Join Date
    Nov 2006
    Location
    Near San Francisco
    Posts
    958

    Re: [RESOLVED] Public Network Printer

    There is no code, the networking is at the router

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width