Mac installs the local printer network printer Windows printer. The small weave uses 3 printer canon LBP2900, HP LaserJet P1008, HP LaserJet Professional to test.
Verifying printers
1, not all types of printers can be used on the Mac, you can see on the Apple website whether your printer has a driver under Mac OS: OS X: Downloadable printers and scanners software, if not in this list, it will
manager, And the status is OK, that is, click to print the test page. No response is returned at all. This is a story about a month ago. I also found an article about CUPS, but I ignored it all the time.
Today, as usual, the user enters the GUI of the hpc ip and suddenly finds that its version is different from the version of the hpc ip. It's okay to download the RUN file directly, and then the FOLLOW picture shows how to install it smoothly.
However, the problem persists ....
Just as I was abo
1. Delete the printer from "printer and fax" first
2. In the "printer and fax" window, click "file" = "server properties ---" driver ", select the driver to uninstall, and click" Remove.
If the system reports an error saying "the printer cannot be uninstalled and is in use", you can restart the computer and perform the preceding operations.
3. Install the new driver. Do not connect the USB cable of the printer to the computer before installation. When the software prompts a connection, otherwise
will be the part before .ipp.tcp, example "hpv8a", "hpv8acolor"## _ipp and _printer seem to be equivalents, either seem to work on iOS.# Printer 1cups._sub._ipp.tcp IN PTR hpv8a.ipp.tcpuniversal._sub._ipp.tcp IN PTR hpv8a.ipp.tcp#Printer 2cups._sub._ipp.tcp IN PTR hpv8acolor.printer.tcpuniversal._sub._ipp.tcp IN PTR hpv8acolor.printer.tcphpv8a.ipp.tcp IN SRV 0 0 631 printserverhpv8acolor.printer.tcp IN SRV 0 0 631 printserver# The "adminurl" points to the printer queue url on the CUPS server# T
: 1, 2, and 3.
4P (1)1 4P (2)2 4P (3)3 EndP (4)4
Execute the p (2) Statement 2: cout
In the same case as above, when Statement 3 is executed, p (0) is also called. the execution of p (1) can continue only after p (0) is executed ).
5. start to call P (0). The executed statements include: 1.
4P (0)0 4P (1)1 4P (2)2 4P (3)3 EndP (4)4
Because w = 0 does not meet statement 1, jump directly to statement 5 and 6, so that p (0) is executed completely, and p (0) needs to perform the "Out Stack" ope
enough to be used in more and more applications: The log4j configuration file implements a full set of functions, such as output to console, file, rollback file, send log mail, output to database log table, custom label, and so on. One or two use is enough. Log4j.rootlogger=debug,console,a1,im Log4j.addivity.org.apache=true # Applies to the console log4j.appender.console= Org.apache.log4j.ConsoleAppender Log4j.appender.threshold=debug Log4j.appender.console.target=system.out Log4j.appender.cons
your application more flexible.LOG4J supports two configuration file formats, one in XML format and one in the properties format. Here's how to use the properties format as a configuration file:Example:Log4j.rootlogger=info, A1Log4j.appender.a1=org.apache.log4j.consoleappenderLog4j.appender.a1.layout=org.apache.log4j.patternlayoutLOG4J.APPENDER.A1.LAYOUT.CONVERSIONPATTERN=%-4R%-5p [%t]%37c%3x-%m%n1. Configure the root logger, whose syntax is:Log4j.ro
will make your application more flexible.LOG4J supports two configuration file formats, one in XML format and one in the properties format. Here's how to use the properties format as a configuration file:Example:Log4j.rootlogger=info, A1Log4j.appender.a1=org.apache.log4j.consoleappenderLog4j.appender.a1.layout=org.apache.log4j.patternlayoutLOG4J.APPENDER.A1.LAYOUT.CONVERSIONPATTERN=%-4R%-5p [%t] 7c%3x-%m%n1. Configure the root logger, whose syntax is
ns.bonjour.FOOBAR.COM. hostmaster.bonjour.FOOBAR.COM. (2006010102 10800 3600 604800 1) NS ns.bonjour.FOOBAR.COM.ns IN A YOURTESTDNSSERVER_IPADDRprintserver IN A YOURCUPSPRINTSERVER_IPADDRlb._dns-sd._udp IN PTR @b._dns-sd._udp IN PTR @_cups._sub._ipp._tcp IN PTR pname1._printer._tcp_universal._sub._ipp._tcp IN PTR pname1._printer._tcp_cups._sub._ipp._tcp IN PTR pname2._printer._tcp_universal._sub._ipp._tcp IN PTR p
. This can be done directly on the LCD front panel of the printer. First, you must configure the network communication protocol used by the printer. For example, if the system is Microsoft Windows, you can directly select the TCP/IP protocol, if there is a Netware system, you also need to configure the Novell IPX/SPX protocol. Their selection is the same as the NIC communication protocol. Note that the default printer configuration enables all communication protocols at the same time. Do not dis
destination" has console, file, Rolling_file, SOCKET, Lf5_appender, MAIL, DATABASE, A1, im. This file can be used as the main template because it defines a variety of common output destinations (console, file, e-mail, database, etc.) in a more comprehensive manner.Attached: A useful log4j.properties file templateLog4j.rootlogger=debug, CONSOLE,A1Log4j.addivity.org.apache=true# Apply to ConsoleLog4j.appender.console=org.apache.log4j.consoleappenderLog4j.appender.threshold=debugLog4j.appender.con
value is True, the message is added to the specified file, and false refers to overwriting the message with the specified file content.Rollingfileappender OptionsThreshold=debug: Specifies the lowest level of output for log messages.Immediateflush=true: The default value is true, meaning that all messages will be output immediately.File=mylog.txt: Specifies the message output to the Mylog.txt file.Append=false: The default value is True, the message is added to the specified file, and false ref
over the more and more applications: log4j configuration file to achieve the output to the console, file, rollback files, send log mail, output to the database log table, custom tags and so on a full set of functions.
Log4j.rootlogger=debug,console,a1,im
Log4j.addivity.org.apache=true
n applies to the console
Log4j.appender.console=org.apache.log4j.consoleappender
Log4j.appender.threshold=debug
Log4j.appender.console.target=system.out
log4j.appender.console.layout=
Reference:How to configure log4j in Jdev 11gEver wanted to use log4j in your ADF project? Well though Oracle doesn ' t recommends the use of log4j, I say its purely your choice to use it or not.So how does we configure log4j in ADF? Pretty simple. Just follow these steps1) Add log4j jars in the project library2) Create a file log4j.properties in your application Sources Directory (this folder was seen in Jdev–in both Viewcontrol Ler and Model Folder).The For model project is the present at For V
-sided printing function, in addition to providing USB2.0 high-speed interface, but also provides 1 10Base t/100base-tx network interface, You can connect the printer to the local area network to achieve a shared print. The use of drum powder in one type of supplies, at the same time provide two kinds of capacity for different printing volume of user choice, the standard capacity of CRG 308 drum printing volume of about 2500 pages, large volume toner cartridge CRG 308ⅱ Print volume of about 6000
LaserJet 6L Series printer print larger or more complex file times what to do, this is mainly because the printer output Windows test page is normal, this phenomenon is mostly printed files too large or too complex, causing the printer to receive too much data to appear in the printer memory calculation but come, That is, the printer's memory is not enough, because the LaserJet printer has only 1 m memory 1
#将不用的日志文件存储到不同的日志文件中log4j. Rootlogger=info,all,info,warn,error,fatal,stdout# output to the console, defined a stdout, but not used in Rootlogger, the following other will be used. Log4j.appender.stdout=Org.apache.log4j.ConsoleAppenderlog4j.appender.stdout.Target=system. out#可以灵活的指定布局模式log4j. Appender.stdout.layout=format of the org.apache.log4j.patternlayout# output Log4j.appender.stdout.layout.ConversionPattern=%r%-5p%d{yyyy-mm-dd Hh:mm:ss,sss}%c{1}:
Console5Log4j.appender.console=org.apache.log4j.consoleappender6Log4j.appender.console.threshold=info7Log4j.appender.console.target=system.out8Log4j.appender.console.encoding=gbk9Log4j.appender.console.layout=org.apache.log4j.patternlayoutTenLog4j.appender.console.layout.conversionpattern=[framework]%d-%c-%-4r [%t]%-5p%c%x-%m%n One A# Create a new log every day -Log4j.appender.a1=org.apache.log4j.dailyrollingfileappender -Log4j.appender.a1.file=c:/l
appender=a2,db appender=a3,mail appender=a4
# A1Log4j.appender.a1=org.apache.log4j.consoleappenderLog4j.appender.a1.threshold=debugLog4j.appender.a1.layout=org.apache.log4j.patternlayoutlog4j.appender.a1.layout.conversionpattern=%-5p logger:%c{1} date:%d{iso8601}-%m%n# A2Log4j.appender.a2=org.apache.log4j.rollingfileappenderLog4j.appender.a2.threshold=debug
# ${loghome} and ${logname} read from the system environment variable [System.setproperty (pro
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.