Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9065987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T16:38:18+00:00 2026-06-16T16:38:18+00:00

I own Sewoo Thermal Printer that is connected to a local PHP point of

  • 0

I own Sewoo Thermal Printer that is connected to a local PHP point of sale. Now as a simple print test using php, I wrote the following code :

<?php
$handle = printer_open("THERMAL LK-TXXX");
$handle = printer_open();
?>

And I got this Error :

Fatal error: Call to undefined function printer_open() in C:\wamp\www\frame\reciept.php on line 2

I’m using Wampp as my web server, Windows 7 and I’ve installed the correct drivers for my printer.
How can i fix this problem, Or is there an alternative “Print” methode using PHP to automatically print without showing Print preview?

Thank You

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T16:38:19+00:00Added an answer on June 16, 2026 at 4:38 pm

    A POS printer is (mostly) not a printer in the sense of using the Windows printing functions to create output, that is quite independent of the device, but simply a sink for serial data in the printer’s control language (we built a ticketing system driving very similar printers).

    One approach is to user the Win32API extension for PHP and the OpenDriver API, but this turns out to be quite a mess. Best way is to simply fopen() the printer port and write your PCL data via fwrite()

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I own a image hosting website and I capture image views using php and
I own web photo print service, main problem is that pictures users upload are
I own a video streaming website and currently I just have a simple hit
I am creating my own carousel slideshow for images, using Jquery. Currently i have
I am writing my own Firebird database browser using the ibpp library. Is there
I own the domain name, iamgabeaudick.com. It was my personal website, but I now
i own a translation service and now im wanting to implement a TTS solution.
I own a high traffic website that does business in the USA and Canada.
I own a legacy python application written as CGI. Until now this works OK,
I wrote my own jquery plugin and was surprised that I haven't access to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.