Chào các bạn Tôi có mấy file đuôi .prn. Tôi không biết làm cách nào để in ra giấy. Bạn nào biết chỉ giúp. Cám ơn nhiều pnc.
bạn thử lệnh này xem sao copy [drive][path]filename.prn LPT1: /b cls - Mở Notepad (vào Start Programs Accessories), copy 2 dòng trên vào. - Bạn đóng file lại, khi đặt tên file, bạn phải đặt là đuôi .bat (ví dụ: intailieu.bat) - bấm đúp chuột vào file .bat vừa tạo, dzậy là có thể in ra rồi. Cái này tôi đã làm ngon lành, chứ ko phải như xuongrong78 bảo là tôi chỉ lý thuyết, ko thực hành Ví dụ: bạn có file bangluong.prn trong thư mục Excel ở ổ C bạn phải gõ vào đoạn mã như bên dưới copy C:Excelangluong.prn LPT1: /b cls Nhược điểm, mỗi lần muốn in tập tin khác, bạn phải đổi lại tên file trong tập tin .bat vừa tạo. (kích chuột phải trên tập tin .bat vừa tạo, chọn E***, rồi đổi tên và đường dẫn cho phù hợp. Thoát ra, save lại) Chúc bạn thành công. Làm được đừng quên vote 5 sao nhé
Chào bạn Ba_phi Tôi đã thử, không được. Nó báo lỗi LPT1, máy in không sẵn sàng (điều này vô lý vì tui vẫn in đưọc trong work) Xin lưu ý thêm là máy tôi nằm trong mạng. mười mấy cái máy Tôi thử các máy khác vẫn có kết quả tương tự Bạn có biết tại sao không Cám ơn bạn nhiều PCN
Khờ quá đi. Lệnh copy file LPT1: chỉ chạy được trên máy nào nối trực tiếp với máy in. LPT1: là cổng máy in local. In trên mạng thì lại khác hoàn toàn. Hãy đến cái máy tính nào nối trực tiếp với máy in rồi làm như Ba Phi bảo nhé. Hãy tham khảo thêm:LPT LPT (line print terminal) is the usual designation for a parallel port connection to a printer or other device on a personal computer. Most PCs come with one or two LPT connections designated as LPT1 and LPT2. Some systems support a third, LPT3. Whatever the number, LPT1 is the usual default. You can add a parallel port for a second printer or other device by buying and adding a parallel port adapter card to your computer. An LPT port can be used for an input device such as QuickCam, a video camera used with CU-SeeMe. Parallel computer connections tra***ionally have used the Centronics parallel interface for printer communication. A newer standard called EPP/ECP supports the older interface while providing faster communication for a range of devices, including scanners and video cameras.
Khong biet ban da thu bang cach nao roi nhung toi thuong in bang NC voi lenh Ctrl+F9 rat binh thuong.